using System;
using System.Collections.Generic;
using System.Text;

namespace NUnit.Behave
{
    public abstract class NarrativeConjunction
    {
        protected string message;

        public string Message
        {
            get { return message; }
        }


        public NarrativeConjunction(string message)
        {
            this.message = message;
        }

        public abstract void RenderTo(IMessageProvider messageProvider);

    	protected void WriteConsoleMessage(MessageType messageType)
    	{
    		Console.WriteLine(ConsoleFormatter.FormatMessage(message, messageType));
    	}
    }
}
